<!DOCTYPE HTML>
<html lang="en">
	<head>
		<title>Video</title>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="/static/valiant360/css/valiant360.css" />
		<style type="text/css">

			html, body {
				margin: 0;
				border: 0;
				padding: 0;
				height: 100%;
			}
		</style>
	</head>
	<body>

		<div class="valiantPhoto demo" data-video-src="/static/video/VR-SMT-20161218.mp4" style="width: 100%; height: 100%;" ></div>

		<script type="text/javascript" src="/static/valiant360/js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="/static/valiant360/js/three.min.js"></script>

		<script type="text/javascript" src="/static/valiant360/jquery.valiant360.js"></script>

		<script type="text/javascript">
			$(document).ready(function() {
				$('.valiantPhoto').Valiant360({
					crossOrigin: 'anonymous',   // valid keywords: 'anonymous' or 'use-credentials'
					clickAndDrag: true,    // use click-and-drag camera controls
					keyboardControls: true, // use keyboard controls (move by arrows)
					flatProjection: false,  // map image to appear flat (often more distorted)
					fov: 35,                // initial field of view
					fovMin: 3,              // min field of view allowed
					fovMax: 100,            // max field of view allowed
					hideControls: false,    // hide player controls
					lon: 0,                 // initial lon for camera angle
					lat: 0,                 // initial lat for camera angle
					loop: "loop",           // video loops by default
					muted: false,            // video muted by default
					volume: 0.8,            // video volume by default
					autoplay: true          // video autoplays by default
				});
			});
		</script>
	</body>
</html>
